package com.iplay.web.user;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class UserViewController {
	@Value("${iplay.view.templateFolder}")
	private String rootFolder;
	
	@GetMapping("/partialView/createAdmin")
	public String createAdminPartialView() {
		return rootFolder + "partialView_user.html";
	}
	
	@GetMapping("/FeastBooking/user/new")
	public String createAdminView() {
		return rootFolder + "index.html";
	}
}
